// pages/qrcode/qrcode.js
Page({
  data: {
    wechatNum: 'Super-UConsulting',
  },
  setClipboard: function(e) {
    var _this = this;
    wx.setClipboardData({
      data: _this.data.wechatNum,
      success: function (res) {
        wx.getClipboardData({
          success: function (res) {
            console.log(res.data) // data
          }
        })
      }
    })
  },
  gotoHistory: function(e) {
    wx.navigateTo({
      url: '../history/history',
    })
  }
})